package com.baizhi.dao;

import com.baizhi.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * Created by Administrator on 2019/4/3.
 */
public interface RoleDao {
   List<Role> selectUserRole(@Param("username") String username);

    List<Role> selectAllRole(@Param("begin")int begin,@Param("size")int size,@Param("Rolename") String Rolename);

    Integer selectAllRoleCount();
}
